-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(releases): use get_or_create instead of sub transaction #77453
Conversation
create_repositories(commit_list, release) | ||
create_commit_authors(commit_list, release) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure we don't still want these inside of the lock, but not the transaction?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added inside of lock, but not transaction.
ad4ee18
to
0de6835
Compare
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
PR reverted: 944ae32 |
…77453)" This reverts commit 56a2c91. Co-authored-by: JoshFerge <[email protected]>
we observed SENTRY-3F2A during the rollout of #77453. This didn't make sense until i realized our redis lock is only 10 seconds right now, and this function can take longer than that. We increase the max timeout to 10 minutes, which should be plenty for 99.99+% of `set_commits` calls.
we observed SENTRY-3F2A during the rollout of #77453. This didn't make sense until i realized our redis lock is only 10 seconds right now, and this function can take longer than that. We increase the max timeout to 10 minutes, which should be plenty for 99.99+% of `set_commits` calls.
we observed SENTRY-3F2A during the rollout of #77453. This didn't make sense until i realized our redis lock is only 10 seconds right now, and this function can take longer than that. We increase the max timeout to 10 minutes, which should be plenty for 99.99+% of `set_commits` calls.
reduce the amount of sub transactions by using get_or_create instead of catching integrity errors. also removes the ff flag for now. will keep the ff flag defined incase i make any more radical changes